package com.ls.service;

import com.ls.entity.JsonResult;
import com.ls.entity.Product;

import java.util.List;



public interface IProductService {
	public JsonResult<List<Product>> findProduct();
	public JsonResult<List<Product>> findProductFenye(int pageId,int num);
	public JsonResult<Object> deleteByIdPr(String[] product_id);
	public JsonResult<List<Product>> findName(String name, int pageId, int num);
	public JsonResult<Object> insertProduct(Product product);
	
	public JsonResult<Product> showPr(int product_id);
	public JsonResult<Object> updateProduct(Product product);
}
